using Codeflows.Tracking.BuiltIn;

namespace Codeflows.Tracking
{
    public class DefaultCodeflowTrackerFactory : ICodeflowTrackerFactory
    {
        public DisposableContext<ICodeflowTracker> CreateTracker()
        {
            return new DisposableContext<ICodeflowTracker>(new SqlServerTracker(), instance => instance.Dispose());
        }
    }
}